package org.javamianshi.core;

/**
 * Created by Fan on 2017/3/22.
 */
public class Example extends Thread {
    public void run(){
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("run");
    }

    public static void main(String[] args) {
        Example example = new Example();
        example.run();
        System.out.println("main");
    }
}
